﻿/// <reference path="Main.js" />

(function () {
    var obj = this;
    var element = $(this);
    var controls = {
        container: element
    };

    iuPlace.Application.OnInitialized(onInitialized);

    function onInitialized() {
        controls.container = $("#container");
    };

    function visible(value) {
        if (value)
            controls.container.show();
        else
            controls.container.hide();
    };

    $.extend(iuPlace.Application.Site.Main, {
        Container: {
            Visible: visible
        }
    });
})();